<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="../general/header.jsp" %>
		<div id="header">FREE MARKET HOME PAGE</div>
		<%@ include file="../general/menu.jsp" %>
		<h2>Users</h2>
		<table class="listas">
			<tr style="font-weight:bold;"> 
				<td> Username </td>  
				<td> Positive <a href="?order=positive"><img src="../../img/arrow.gif" border="0"></a></td> 
				<td> Neutral <a href="?order=neutral"><img src="../../img/arrow.gif" border="0"></a></td> 				 					
				<td> Negative <a href="?order=negative"><img src="../../img/arrow.gif" border="0"></a></td> 
			</tr>
			<c:forEach var="user" items="${users}">
				<tr>
					<td> <c:out value="${user.userName}" /> </td>  
					<td style="color: green;"> <c:out value="${user.positive}" /> </td> 
					<td style="color: black;"> <c:out value="${user.neutral}" /> </td> 				 					
					<td style="color: red;"> <c:out value="${user.negative}" /> </td>
				</tr>
			</c:forEach>
		</table>		
						
<%@ include file="../general/footer.jsp" %>